
#ifndef COMPILER_ONLINE

#include "header.cpp"

#endif

void Test1()
{
    std::vector<int> v = {1, 2, 3, 4, 5, 6};
    int ret = Solution().MaxNum(v);
    if (ret == 6)
    {
        std::cout << "通过用例1，测试{1,2,3,4,5,6}通过" << std::endl;
    }
    else
    {
        std::cout << "测试用例1：{1,2,3,4,5,6} 不通过" << std::endl;
    }
}
void Test2()
{
    std::vector<int> v = {-88, -33, -11, 100, 20, 0, -1};

    int ret = Solution().MaxNum(v);
    if (ret == 100)
    {
        std::cout << "通过用例1，测试 {-88, -33, -11, 100, 20, 0, -1}通过" << std::endl;
    }
    else
    {
        std::cout << "测试用例1：{-88, -33, -11, 100, 20, 0, -1} 不通过" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
}